package com.fz.vo.system.area;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Collection;

/**
 * @author : xumj
 * @date : 2021/3/23 11:37
 */
@Getter
@Setter
public class AreaTreeVo implements Serializable  {

    private Integer id;

    @ApiModelProperty(value = "上层行政编码")
    private String parentCode;

    @ApiModelProperty(value = "行政编码")
    private String code;

    @ApiModelProperty(value = "单位名称")
    private String name;

    @ApiModelProperty(value = "行政级别：1-国家,2-省,3-市,4-区")
    private Integer level;

    @ApiModelProperty(value = "子集地区")
    private Collection<AreaTreeVo> collection;
}
